<template>
    <div>
                <el-header>
                    <Header></Header>
                </el-header>
            <el-container>
                <el-aside >
                    <Aside></Aside>
                </el-aside>
                <el-main>
                    <router-view :key="$router.query?.id"></router-view>
                </el-main>
            </el-container>
    </div>
</template>

<script>
    import Header from '@/components/Header.vue'
    import Aside from '@/components/Aside.vue'
    export default {
    components: {
        Aside,
        Header
    }
    }
</script>

<style lang="less" scoped>

    .el-header {
      background-color: #FF7A9E;
      min-width: 1510px;
      max-width: 1920px;
      color: #FFFFFF;
      line-height: 50px;
      height: 50px !important;
    }
    .el-aside {
      background-color: #FFFFFF;
      color: #333;
      width:200px !important;
      height: calc(100vh - 61px - 50px);
      min-height: 500px;
      border-right:1px solid #E0E0E0;
      overflow-x: hidden;
            &::-webkit-scrollbar {
                display: none;
            }
    }
    .el-main {
      background-color: #FFFFFF;
      min-width:  1310px;
      color: #333;
      height: calc(100vh - 61px - 50px);
      min-height: 500px;
      padding: 0!important;
    }
</style>